def sum1(m=1, n=100):
  return sum(range(m, n + 1))
i=sum1(2,8)
print(i)

def avg(*p):
    return sum(p)/len(p)
i,j=avg(1,2,3),avg(2,4,6,8,10)
print(i,j)

def  outstu(**di):
    for  k, v  in  di.items():
        print(k, v)
    print()
outstu(id='1', name='张')
outstu(classid='2', name='李', score=90)

